HGC32.DLL - TDVIDEO library for Borland's TD32 version 1.2 (c) Wojciech M. Zabolotny 29.01.1995 HGC32.DLL is the TDVIDEO library for Borland's 32-bit Turbo Debugger 4.02, which allows it to debug 32-bit DOS programs on systems with single monochrome monitor driven by Hercules Graphics Board. If you try to use TD32.EXE on such system without this library, results will be probably disappointing - screen will become completely black. To avoid this, just invoke Turbo Debugger using -vd switch and HGC32.DLL library: TD32 -vdHGC32.DLL program_name (Don't place space between "-vd" switch and DLL's name. DLL's name must be given with extension. HGC32.DLL must be placed in directory, where TD32 is able to find it - for example the same directory where TD32.EXE is.) In this case everything should work correctly. To obtain most satisfactory results you should use TD32INST first, and set "Mode for Display" option to "Black and white". Of course you have to run this utility under Windows, because in another case you will see nothing on the screen. WARRANTY DISCLAIMER Certainly I can not give you any warranty that my library is free of errors. I have tested that it works good on my computer, however I DON'T TAKE ANY RESPONSIBILITY FOR ANY DAMAGES OR OTHER PROBLEMS RESULTING FROM RUNNING IT ON OTHER COMPUTERS. This library DOES NOT CHECK IF HERCULES CARD IS PRESENT IN YOUR COMPUTER, so if you run it on the computer without Hercules, system will probably crash (I am not sure if it can cause any damage). CONTENTS OF PACKAGE LIST OF FILES: HGC32.DLL - ready to use binary form of the library HGC32.C - C-language source of the library HGC32.DEF - module definition file HGC32.MAK - makefile for building of the library HGC32.IDE - BC++ 4.0 project file for the library HGC32.TXT - you are just reading it... BUILD.BAT - batch file for building of HGC32.DLL This package contains source code for my library, so if you want, you can introduce any changes. To compile HGC32 you will need BC++ (version 4.02 or higher) with Power Pack for DOS and Turbo Assembler. If you have no Turbo Assembler, you can try do replace parts of source written in assembly language with C code. There is also project file (HGC32.IDE) and makefile (HGC32.MAK), which I have used to build this library. Alternatively you can use BUILD.BAT - batch file, which should compile and link HGC32.DLL Explanation of TDVIDEO library structure you can find in the help file for Borland's TD32INST program, which is copyrighted by Borland so I can not include it here. CONDITIONS FOR USE This package is freeware, so you can modify and use it in any way you want. However if you utilize it in any of your programs, please mention it in your documentation. If you introduce any improvements, or if you find any errors, please notify me (WZAB@ipe.pw.edu.pl). HISTORY OF THE PACKAGE: 14.01.1995 - version 1.0 22.01.1995 - version 1.1 Fixed small bug in the procedure of detection of HGC's mode. 29.01.1995 - version 1.2 Changed procedure of detection of HGC's mode. In the previous version, when breakpoint was set near after "closegraph" or "restorecrtmode" function call, graphics mode could be erroneously detected. Wojciech M. Zabolotny University of Electronics Fundamentals Warsaw University of Technology Nowowiejska 15/19 00-665 Warsaw, Poland E-mail: WZAB@ipe.pw.edu.pl